package com.fzkj.shejimoshi.dynamicproxy;

/**
 * @DESCRIPTION: TODO
 * @AUTHOR: AnotherOne
 * @DATE: 2021/8/16 11:15
 */
public class Test {
    public static void main(String[] args) {
        AbstractSubject su = new RealSubject();
        ProxyFactory factory = new ProxyFactory(su);
        AbstractSubject proxy = (AbstractSubject) factory.getProxy();
        proxy.request();
    }
}
